﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Invoice;
using System;
using System.Collections.Generic;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    public class InvoiceNewDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.invoice.service.inter.dubbo.InvoiceNewDubboService";
        /// <summary>
        /// [8-100007-01]根据票据标识&业务标识列表查询当前票据信息
        /// </summary>
        public GateWayMethod queryInvoiceByKeys => new QueryInvoiceByKeys(url);
    }

    public class QueryInvoiceByKeys : GateWayMethod
    {
        public QueryInvoiceByKeys(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryInvoiceByKeys";

        public override string paramClass => "cc.ewell.his.invoice.upon.vo.invoicenew.request.InvoiceQueryKeysRequest";

        public override DubboParamType paramType => DubboParamType.defaultParam;

        public override Type requestParamType => typeof(InvoiceQueryKeysRequest);

        public override Type responseParamType => typeof(List<InvoiceResponse>);

        public override string desc => "[8-100007-01]根据票据标识&业务标识列表查询当前票据信息";
    }
}
